<!DOCTYPE html>
<html lang="en">

<head>
    <title>THREE.js tutorial - step 3</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <style>
        body {
            margin: 0;
        }


        label {
            margin: 8px;
            width: 30%;
            height: 30%;
            /* display: block; */
            position: relative;
            cursor: pointer;
            margin-bottom: 30px;
        }

        input[type=radio] {
            display: none;
        }

        input[type=radio]+img {
            border: 4px solid #eee;
            transition: border-color 0.2s ease-in-out;
            max-height: 200px;
        }

        input[type=radio]:checked+img {
            border-color: #4286f4;
        }

        label:hover input[type=radio]+img {
            filter: brightness(90%);
        }

        label img {
            border-radius: 20px;
            /* transform: skew(-10deg);

                -webkit-transform: skew(-10deg);

                -moz-transform: skew(-10deg);

                -o-transform: skew(-10deg);

                -ms-transform: skew(-10deg); */
            width: 20%;
            height: 10%;
            /* display: block; */
            max-height: 200px;
        }

        .group2 label img {
            border-radius: 20px;
            transform: skew(-20deg);

            -webkit-transform: skew(-30deg);

            -moz-transform: skew(-30deg);

            -o-transform: skew(-30deg);

            -ms-transform: skew(-30deg);
            width: 20%;
            height: 10%;
            /* display: block; */
            max-height: 200px;
        }

        label span {
            position: absolute;
            /* bottom: -24px; */
            left: 0;
            right: 0;
            text-align: center;
            font-size: 10px;
            font-weight: bold;
        }

        .lu-btn-3d {
            width: 100px;
            height: 40px;
            background: linear-gradient(to bottom, #4eb5e5 0%, #389ed5 100%);
            border: none;
            border-radius: 5px;
            position: relative;
            border-bottom: 5px solid #2b8bc6;
            color: #fbfbfb;
            font-weight: 600;
            font-family: 'Open Sans', sans-serif;
            text-shadow: 1px 1px 1px rgba(0, 0, 0, .4);
            font-size: 15px;
            text-align: center;
            box-shadow: 0px 3px 0px rgba(0, 0, 0, .2);
            cursor: pointer;
        }

        .lu-btn-3d:active {
            box-shadow: 0px 2px 0px rgba(0, 0, 0, .2);
            top: 1px;
        }
    </style>
</head>

<body style="background-size: cover;height:100%;width:100%;background-image: url('../../../1.png');background-size:100% 100%;

background-attachment: fixed;color: #eee;">
    <script src="libs/three.min.js"></script>
    <script src="libs/inflate.min.js"></script>
    <script src="libs/FBXLoader.js"></script>
    <script src="libs/OrbitControls.js"></script>
    <script src="libs/Detector.js"></script>
    <script src="choose.js"></script>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script>
        document.addEventListener("DOMContentLoaded", function () {
            const game = new Game1();
            window.game = game;//For debugging only
        });

    </script>

    <!-- <div class="btn" style="position:absolute;right: 43%;top: 20px;"><h1>请选择你的模型</h1></div> -->
    <!-- <button class="arrow" style="position:absolute;right: 48%;top: 90%;" onClick="javascript:game.toggleAnimation()">确认</button> -->
    <!-- <div class="btn" style="position:absolute;right: 20%;top: 50%;">
        <h3>按A/D切换</h3>
    </div> -->
    <div class="group1" style="position:absolute;left: 15%;top: 6%;width:30%;">
        <h1>创建角色</h1>
        <br>
        <label>
            <input type="radio" name="model" value="BeachBabe">
            <img src="./assets/images/1.png" alt="Lion">
            <!-- <span>BeachBabe</span> -->
        </label>
        <label>
            <input type="radio" name="model" value="BusinessMan">
            <img src="./assets/images/2.png" alt="Tiger">
            <!-- <span>BusinessMan</span> -->
        </label>
        <br>
        <label>
            <input type="radio" name="model" value="Doctor">
            <img src="./assets/images/3.png" alt="Leopard">
            <!-- <span>Doctor</span> -->
        </label>

        <label>
            <input type="radio" name="model" value="FireFighter">
            <img src="./assets/images/4.png" alt="Lion">
            <!-- <span>FireFighter</span> -->
        </label>
        <br>
        <label>
            <input type="radio" name="model" value="Housewife">
            <img src="./assets/images/5.png" alt="Tiger">
            <!-- <span>Housewife</span> -->
        </label>
        <label>
            <input type="radio" name="model" value="Policeman">
            <img src="./assets/images/6.png" alt="Leopard">
            <!-- <span>Policeman</span> -->
        </label>
        <br>
        <label>
            <input type="radio" name="model" value="Prostitute">
            <img src="./assets/images/7.png" alt="Lion">
            <!-- <span>Prostitute</span> -->
        </label>
        <label>
            <input type="radio" name="model" value="Punk">
            <img src="./assets/images/8.png" alt="Tiger">
            <!-- <span>Punk</span> -->
        </label>
        <br>
        <label>
            <input type="radio" name="model" value="RiotCop">
            <img src="./assets/images/9.png" alt="Leopard">
            <!-- <span>RiotCop</span> -->
        </label>
        <label>
            <input type="radio" name="model" value="Roadworker">
            <img src="./assets/images/10.png" alt="Leopard">
            <!-- <span>Roadworker</span> -->
        </label>
        <br>
        <label>
            <input type="radio" name="model" value="Robber">
            <img src="./assets/images/11.png" alt="Lion">
            <!-- <span>Robber</span> -->
        </label>
        <label>
            <input type="radio" name="model" value="Sheriff">
            <img src="./assets/images/12.png" alt="Tiger">
            <!-- <span>Sheriff</span> -->
        </label>
        <br>
        <label>
            <input type="radio" name="model" value="Streetman">
            <img src="./assets/images/13.png" alt="Leopard">
            <!-- <span>Streetman</span> -->
        </label>
        <label>
            <input type="radio" name="model" value="Waitress">
            <img src="./assets/images/14.png" alt="Leopard">
            <!-- <span>Waitress</span> -->
        </label>
    </div>

    <div class="group2" style="position:absolute;right: 5%;top: 60%;width:30%;">
        <h2>皮肤颜色</h2>
        <label>
            <input type="radio" name="color" value="White">
            <img src="./assets/images/17.png" alt="Lion">
            <span>White</span>
        </label>
        <label>
            <input type="radio" name="color" value="Brown">
            <img src="./assets/images/16.png" alt="Tiger">
            <span>Brown</span>
        </label>
        <label>
            <input type="radio" name="color" value="Black">
            <img src="./assets/images/15.png" alt="Leopard">
            <span>Black</span>
        </label>

    </div>


</body>

</html>